package tgc.edu.exam.repository;

import java.util.List;

import org.springframework.stereotype.Repository;

import tgc.edu.exam.custom.CommonRepository;
import tgc.edu.exam.entity.SysRole;


@Repository
public interface SysRoleRepository extends CommonRepository<SysRole, Integer>{

	SysRole findByCode(String string);

	List<SysRole> findByParentIsNull();

	SysRole findByName(String role);

}
